﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Text;
using DTcms.Common;
namespace DTcms.Web
{
    public partial class movie : System.Web.UI.Page
    {
        protected DataTable dtMenu = null;
        protected string id = "";
        protected string link_url = "";
        protected string img_url = "";
        protected void Page_Load(object sender, EventArgs e)
        {
            int _id = DTRequest.GetQueryInt("id");
            id = _id.ToString();
            if (_id != 0)
            {
                Model.article modelA = new BLL.article().GetModel(_id);
                //Model.article_category model = new BLL.article_category().GetModel(modelA.category_id);
                //Model.article_category modelP = new BLL.article_category().GetModel(model.parent_id);
                //StringBuilder html = new StringBuilder();
                //html.Append("<a href=\"/index.aspx\">主页</a>");
                //if (modelP != null)
                //{
                //    html.Append("> <a href=\"" + modelP.link_url + "\">" + modelP.title + "</a>");
                //}
                //if (modelP != null)
                //{
                //    html.Append("> <a href=\"" + model.link_url + "\">" + model.title + "</a>");
                //}
                StringBuilder html = new StringBuilder();
                html.Append("<a href=\"/index.aspx\">主页</a>");
                html.Append("><a href=\"#\">精彩视频</a>");
                html.Append("><a href=\"#\">"+ modelA.title + "</a>");
                memu.InnerHtml = html.ToString();

                if (modelA != null)
                {
                    link_url = modelA.groupids_view;
                    img_url = modelA.img_url;
                }

            }



        }
    }
}